import request from '@/utils/request'

// 新增银行账号
export function insertBankAccount(data) {
  return request({
    url: '/tFinBankAccount/insertBankAccount',
    method: 'post',
    data
  })
}
// 银行账号列表
export function queryTFinBankAccountList(data) {
  return request({
    url: '/tFinBankAccount/queryTFinBankAccountList',
    method: 'post',
    data
  })
}
// 银行账号详情
export function queryTFinBankAccountDetails(params) {
  return request({
    url: '/tFinBankAccount/queryTFinBankAccountDetails',
    method: 'get',
    params
  })
}
// 银行账号更新
export function updateBankAccount(data) {
  return request({
    url: '/tFinBankAccount/updateBankAccount',
    method: 'post',
    data
  })
}
// 银行账号反提交
export function nosubmitBankAccount(data) {
  return request({
    url: '/tFinBankAccount/nosubmitBankAccount',
    method: 'post',
    data
  })
}
// 银行账号提交
export function submitBankAccount(data) {
  return request({
    url: '/tFinBankAccount/submitBankAccount',
    method: 'post',
    data
  })
}
// 银行账号反审核
export function noreviewBankAccount(data) {
  return request({
    url: '/tFinBankAccount/noreviewBankAccount',
    method: 'post',
    data
  })
}
// 银行账号审核
export function reviewBankAccount(data) {
  return request({
    url: '/tFinBankAccount/reviewBankAccount',
    method: 'post',
    data
  })
}
// 银行账号删除
export function deleteBankAccount(data) {
  return request({
    url: '/tFinBankAccount/deleteBankAccount',
    method: 'post',
    data
  })
}
// 银行转账单列表
export function queryBankTransferList(data) {
  return request({
    url: '/tFinBankTransfer/queryBankTransferList',
    method: 'post',
    data
  })
}
// 银行转账单详情
export function queryBankTransferDetails(data) {
  return request({
    url: '/tFinBankTransfer/queryBankTransferDetails',
    method: 'post',
    data
  })
}
// 银行转账单新增
export function createBankTransferBill(data) {
  return request({
    url: '/tFinBankTransfer/createBankTransferBill',
    method: 'post',
    data
  })
}
// 银行转账单新增
export function updateBankTransfer(data) {
  return request({
    url: '/tFinBankTransfer/updateBankTransfer',
    method: 'post',
    data
  })
}
// 银行转账单反提交
export function notsubmitBankTransferBill(data) {
  return request({
    url: '/tFinBankTransfer/notsubmitBankTransferBill',
    method: 'post',
    data
  })
}
// 银行转账单提交
export function submitBankTransferBill(data) {
  return request({
    url: '/tFinBankTransfer/submitBankTransferBill',
    method: 'post',
    data
  })
}
// 银行转账单反审核
export function notreviewBankTransfers(data) {
  return request({
    url: '/tFinBankTransfer/notreviewBankTransfers',
    method: 'post',
    data
  })
}
// 银行转账单反审核
export function reviewBankTransfers(data) {
  return request({
    url: '/tFinBankTransfer/reviewBankTransfers',
    method: 'post',
    data
  })
}
// 银行转账单删除
export function delBankTransfers(data) {
  return request({
    url: '/tFinBankTransfer/delBankTransfers',
    method: 'post',
    data
  })
}
// 查询现金存取单列表
export function queryCashAccessList(data) {
  return request({
    url: '/tFinCashAccess/queryCashAccessList',
    method: 'post',
    data
  })
}
// 新增查询现金存取单
export function createCashAccessBill(data) {
  return request({
    url: '/tFinCashAccess/createCashAccessBill',
    method: 'post',
    data
  })
}
// 查询现金存取单详情
export function queryCashAccessDetails(data) {
  return request({
    url: '/tFinCashAccess/queryCashAccessDetails',
    method: 'post',
    data
  })
}
// 查询现金存取单修改
export function updateCashAccess(data) {
  return request({
    url: '/tFinCashAccess/updateCashAccess',
    method: 'post',
    data
  })
}
// 查询现金存取单反提交
export function notsubmitCashAccesss(data) {
  return request({
    url: '/tFinCashAccess/notsubmitCashAccesss',
    method: 'post',
    data
  })
}
// 查询现金存取单提交
export function submitCashAccesss(data) {
  return request({
    url: '/tFinCashAccess/submitCashAccesss',
    method: 'post',
    data
  })
}
// 查询现金存取单反审核
export function notreviewCashAccessss(data) {
  return request({
    url: '/tFinCashAccess/notreviewCashAccesss',
    method: 'post',
    data
  })
}
// 查询现金存取单审核
export function reviewCashAccessss(data) {
  return request({
    url: '/tFinCashAccess/reviewCashAccesss',
    method: 'post',
    data
  })
}
// 查询现金存取单删除
export function delCashAccessss(data) {
  return request({
    url: '/tFinCashAccess/delCashAccesss',
    method: 'post',
    data
  })
}
// 收款退款列表
export function queryReceiptRefundList(data) {
  return request({
    url: '/tFinReceiptRefund/queryReceiptRefundList',
    method: 'post',
    data
  })
}
// 收款退款新增
export function createFinReceiptRefundBill(data) {
  return request({
    url: '/tFinReceiptRefund/createFinReceiptRefundBill',
    method: 'post',
    data
  })
}
// 收款退款详情
export function queryReceiptRefundDetails(data) {
  return request({
    url: '/tFinReceiptRefund/queryReceiptRefundDetails',
    method: 'post',
    data
  })
}
// 收款退款更新
export function updateReceiptRefund(data) {
  return request({
    url: '/tFinReceiptRefund/updateReceiptRefund',
    method: 'post',
    data
  })
}
// 收款退款反提交
export function notsubmitReceiptRefunds(data) {
  return request({
    url: '/tFinReceiptRefund/notsubmitReceiptRefunds',
    method: 'post',
    data
  })
}
// 收款退款提交
export function submitReceiptRefunds(data) {
  return request({
    url: '/tFinReceiptRefund/submitReceiptRefunds',
    method: 'post',
    data
  })
}
// 收款退款反审核
export function notreviewReceiptRefunds(data) {
  return request({
    url: '/tFinReceiptRefund/notreviewReceiptRefunds',
    method: 'post',
    data
  })
}
// 收款退款审核
export function reviewReceiptRefunds(data) {
  return request({
    url: '/tFinReceiptRefund/reviewReceiptRefunds',
    method: 'post',
    data
  })
}
// 收款退款删除
export function delReceiptRefunds(data) {
  return request({
    url: '/tFinReceiptRefund/delReceiptRefunds',
    method: 'post',
    data
  })
}

// 付款退款列表
export function queryReceiptRefundList1(data) {
  return request({
    url: '/tFinPaymentRefund/queryPaymentRefundList',
    method: 'post',
    data
  })
}
// 付款退款新增
export function createFinReceiptRefundBill1(data) {
  return request({
    url: '/tFinPaymentRefund/createFinPaymentRefundBill',
    method: 'post',
    data
  })
}
// 付款退款详情
export function queryReceiptRefundDetails1(data) {
  return request({
    url: '/tFinPaymentRefund/queryPaymentRefundDetails',
    method: 'post',
    data
  })
}
// 付款退款更新
export function updateReceiptRefund1(data) {
  return request({
    url: '/tFinPaymentRefund/updatePaymentRefund',
    method: 'post',
    data
  })
}
// 付款退款反提交
export function notsubmitReceiptRefunds1(data) {
  return request({
    url: '/tFinPaymentRefund/notsubmitPaymentRefunds',
    method: 'post',
    data
  })
}
// 付款退款提交
export function submitReceiptRefunds1(data) {
  return request({
    url: '/tFinPaymentRefund/submitPaymentRefunds',
    method: 'post',
    data
  })
}
// 付款退款反审核
export function notreviewReceiptRefunds1(data) {
  return request({
    url: '/tFinPaymentRefund/notreviewPaymentRefunds',
    method: 'post',
    data
  })
}
// 付款退款审核
export function reviewReceiptRefunds1(data) {
  return request({
    url: '/tFinPaymentRefund/reviewPaymentRefunds',
    method: 'post',
    data
  })
}
// 付款退款删除
export function delReceiptRefunds1(data) {
  return request({
    url: '/tFinPaymentRefund/delPaymentRefunds',
    method: 'post',
    data
  })
}

// 新增现金账号
export function insertCashAccount(data) {
  return request({
    url: '/tFinCashAccount/insertCashAccount',
    method: 'post',
    data
  })
}
// 现金账号列表
export function queryCashAccountList(data) {
  return request({
    url: '/tFinCashAccount/queryCashAccountList',
    method: 'post',
    data
  })
}
// 现金账号详情
export function queryCashAccountDetails(data) {
  return request({
    url: '/tFinCashAccount/queryCashAccountDetails',
    method: 'post',
    data
  })
}
// 现金账号更新
export function updateCashAccount(data) {
  return request({
    url: '/tFinCashAccount/updateCashAccount',
    method: 'post',
    data
  })
}
// 现金账号反提交
export function nosubmitCashAccount(data) {
  return request({
    url: '/tFinCashAccount/nosubmitCashAccount',
    method: 'post',
    data
  })
}
// 现金账号提交
export function submitCashAccount(data) {
  return request({
    url: '/tFinCashAccount/submitCashAccount',
    method: 'post',
    data
  })
}
// 现金账号反审核
export function noreviewCashAccount(data) {
  return request({
    url: '/tFinCashAccount/noreviewCashAccount',
    method: 'post',
    data
  })
}
// 现金账号审核
export function reviewCashAccount(data) {
  return request({
    url: '/tFinCashAccount/reviewCashAccount',
    method: 'post',
    data
  })
}
// 现金账号删除
export function deleteCashAccount(data) {
  return request({
    url: '/tFinCashAccount/deleteCashAccount',
    method: 'post',
    data
  })
}

// 新增现金转账
export function createCashTransferBill(data) {
  return request({
    url: '/tFinCashTransfer/createCashTransferBill',
    method: 'post',
    data
  })
}
// 现金转账单列表
export function queryCashTransferList(data) {
  return request({
    url: '/tFinCashTransfer/queryCashTransferList',
    method: 'post',
    data
  })
}
// 现金转账单详情
export function queryCashTransferDetails(data) {
  return request({
    url: '/tFinCashTransfer/queryCashTransferDetails',
    method: 'post',
    data
  })
}
// 现金转账单更新
export function updateCashTransfer(data) {
  return request({
    url: '/tFinCashTransfer/updateCashTransfer',
    method: 'post',
    data
  })
}
// 现金转账单反提交
export function notsubmitCashTransfers(data) {
  return request({
    url: '/tFinCashTransfer/notsubmitCashTransfers',
    method: 'post',
    data
  })
}
// 现金转账单提交
export function submitCashTransfers(data) {
  return request({
    url: '/tFinCashTransfer/submitCashTransfers',
    method: 'post',
    data
  })
}
// 现金转账单反审核
export function notreviewCashTransfers(data) {
  return request({
    url: '/tFinCashTransfer/notreviewCashTransfers',
    method: 'post',
    data
  })
}
// 现金转账单审核
export function reviewCashTransfers(data) {
  return request({
    url: '/tFinCashTransfer/reviewCashTransfers',
    method: 'post',
    data
  })
}
// 现金转账单删除
export function delCashTransfers(data) {
  return request({
    url: '/tFinCashTransfer/delCashTransfers',
    method: 'post',
    data
  })
}

// 银行对账单新增
export function createBankCheckBill(data) {
  return request({
    url: '/tFinBankCheck/createBankCheckBill',
    method: 'post',
    data
  })
}
// 银行对账单列表
export function queryBankCheckList(data) {
  return request({
    url: '/tFinBankCheck/queryBankCheckList',
    method: 'post',
    data
  })
}
// 银行对账单详情
export function queryBankCheckDetails(data) {
  return request({
    url: '/tFinBankCheck/queryBankCheckDetails',
    method: 'post',
    data
  })
}
// 银行对账单更新
export function updateBankCheck(data) {
  return request({
    url: '/tFinBankCheck/updateBankCheck',
    method: 'post',
    data
  })
}
// 银行对账单反提交
export function notsubmitBankChecks(data) {
  return request({
    url: '/tFinBankCheck/notsubmitBankChecks',
    method: 'post',
    data
  })
}
// 银行对账单提交
export function submitBankChecks(data) {
  return request({
    url: '/tFinBankCheck/submitBankCheckBill',
    method: 'post',
    data
  })
}
// 银行对账单反审核
export function notreviewBankChecks(data) {
  return request({
    url: '/tFinBankCheck/notreviewBankChecks',
    method: 'post',
    data
  })
}
// 银行对账单审核
export function reviewBankChecks(data) {
  return request({
    url: '/tFinBankCheck/reviewBankChecks',
    method: 'post',
    data
  })
}
// 银行对账单删除
export function delBankChecks(data) {
  return request({
    url: '/tFinBankCheck/delBankChecks',
    method: 'post',
    data
  })
}
// 银行转账单生成凭证
export function createVoucherByBankTransfer(data) {
  return request({
    url: '/tFinVoucher/createVoucherByBankTransfer',
    method: 'post',
    data
  })
}
// 现金存取生成凭证
export function createVoucherByCash(data) {
  return request({
    url: '/tFinVoucher/createVoucherByCash',
    method: 'post',
    data
  })
}
